package com.godtree.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 排名数据项
 * </p>
 *
 * @author lisicheng
 * @since 2022-07-18
 */
@TableName("tb_rank_score")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RankScore implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  @TableId(type = IdType.INPUT)
  private String id;

  /**
   * 所属排名
   */
  private String ranks;

  /**
   * 排名项
   */
  private String rankItem;

  /**
   * 分数
   */
  private BigDecimal score;

  /**
   * 链接
   */
  private String url;

  /**
   * 排序
   */
  private Integer sort;

  /**
   * 逻辑删除标记（0：显示；1：隐藏
   */
  private String delFlag;

  /**
   * 排名数据
   */
  private String rankData;

  private String scoreStr;

  private Integer rankValue;

  @TableField(exist = false)
  private Boolean exist;

}
